from selenium import webdriver
from time import sleep
from selenium.webdriver.common.by import By
import os

driver = webdriver.Firefox()
html_file = os.getcwd() + os.sep + 'myhtml5-1.html'
driver.get(html_file)

# driver.get('F:\\gitee\\python\\chapter\\myhtml5-1.html')
# ele = driver.find_element(By.CLASS_NAME,'myclass')

ele = driver.find_element(By.TAG_NAME, 'input')

ele.send_keys('suzie')
sleep(2)
driver.quit()
